package com.zmn.mcc.model.dto.permit;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 简单模块对象
 * @author heguanghua
 * @since 2020/05/12 12:09
 */
@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class ModuleSimpleDO implements Serializable {
    private static final long serialVersionUID = 6582834032578752534L;

    private int moduleId;
    private String moduleName;
    private int parentId;
    private int sysId;
    private Integer status;
    private Integer level;
    private boolean checked = false;    // 默认false

    //private List<ModuleSimpleDO> modules = new ArrayList<>();
    private List<PermitSimpleDO> permits = new ArrayList<>();
}
